package com.my.main.service.userAndRight;

import com.my.main.base.service.BaseService;
import com.my.main.entity.userAndRight.SysUserContractTypeRelation;

import java.util.List;

/**
 * 用户、角色与合同分类关系表service
 */
public interface SysUserContractTypeRelationService extends BaseService<SysUserContractTypeRelation> {

    /**
     * 通过用户ID和角色ID集合查询合同分类ID集合
     * @param userId 用户ID
     * @param roleIdList 角色ID集合
     * @return 合同分类ID集合
     */
    List<String> queryContractTypeIdListByUserIdAndRoleIdList(String userId, List<String> roleIdList);

}
